package com.hang.model.dto.request;

import com.hang.model.dto.base.BaseModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class BugConditionDTO extends BaseModel {
    @ApiModelProperty(value = "用户id",required = true)
    @NotNull
    private Long userId;

    @ApiModelProperty(value = "模块id",required = true)
    @NotNull
    private Long moduleId;

    @ApiModelProperty(value = "分类方式：0.全部 1.我创建的 2.我处理的",required = true)
    @NotNull
    private Integer type;

    @ApiModelProperty(value = "缺陷名/提报人姓名方式搜索")
    private String condition;

    @ApiModelProperty(value = "排序方式[默认时间排序(1)]",required = true)
    @NotNull
    private Integer sortType;

    @ApiModelProperty(value = "升降序[默认降序排序(1)]",required = true)
    @NotNull
    private Integer sort;

    @ApiModelProperty(value = "缺陷类型[0:全部类型]",required = true)
    @NotNull
    private Integer bugType;

    @ApiModelProperty(value = "优先级[0:全部优先级]",required = true)
    @NotNull
    private Integer priority;

    @ApiModelProperty(value = "严重程度[0:严重程度]",required = true)
    @NotNull
    private Integer severity;

    @ApiModelProperty(value = "解决状态[0:全部状态]",required = true)
    @NotNull
    private Integer solveStatus;
}